using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using System.Reflection;
using System.IO;

namespace Hack.DllDump
{
    public class Interface : IComparable
    {
        public System.Type info;

        public Interface(System.Type info)
        {
            this.info = info;
        }

        public void ToString(StringWriter sw)
        {
            sw.WriteLine("inferface " + info.Name);
        }

        /* 
         * Allow these to be sorted by name
         */
        public int CompareTo(object o)
        {
            Interface target = (Interface)o;
            return info.Name.CompareTo(target.info.Name);
        }

    }
}
